ovn-nbctl ls-add lswitch1
ovn-nbctl ls-add lswitch2

ovn-nbctl lrp-add router lr-ls1 52:54:00:c1:68:50 10.0.0.1/24
ovn-nbctl lrp-add router lr-ls2 52:54:00:c1:68:60 10.1.0.1/24

ovn-nbctl lsp-add lswitch1 ls1-lr1
ovn-nbctl lsp-set-type ls1-lr1 router
ovn-nbctl lsp-set-addresses ls1-lr1 52:54:00:c1:68:50
ovn-nbctl lsp-set-options ls1-lr1 router-port=lr-ls1


ovn-nbctl lsp-add lswitch2 ls2-lr1
ovn-nbctl lsp-set-type ls2-lr1 router
ovn-nbctl lsp-set-addresses ls2-lr1 52:54:00:c1:68:60
ovn-nbctl lsp-set-options ls2-lr1 router-port=lr-ls2

ovn-nbctl lsp-add lswitch1 ls1-vm1
ovn-nbctl lsp-set-addresses ls1-vm1 "52:57:00:ea:31:11 10.0.0.10"
ovn-nbctl lsp-set-port-security ls1-vm1 "52:57:00:ea:31:11 10.0.0.10"

ovn-nbctl lsp-add lswitch2 ls2-vm2
ovn-nbctl lsp-set-addresses ls2-vm2 "52:54:00:64:02:00 10.1.0.20"
ovn-nbctl lsp-set-port-security ls2-vm2 "52:54:00:64:02:00 10.1.0.20"
